<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<%@ include file="/static/include/link_css.jsp"%>
<script>
    function forword(url) {
        window.location.replace(url);
    }
</script>
</head>

<body>
<div id="wrapper">
    <%@ include file="/static/include/header.jsp"%>
    <!--/. NAV TOP  -->
    <%@ include file="/static/include/sidebar.jsp"%>
    <!-- /. NAV SIDE  -->
    <div id="page-wrapper" >
        <div id="page-inner">
            <div class="row">
                <div class="col-md-12">
                    <h1 class="page-header">
                       销售流水表
                    </h1>
                </div>
            </div>
            <!-- /. ROW  -->

            <div class="row">
                <div class="col-md-12">
                    <!-- Advanced Tables -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                        </div>
                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <thead>
                                    <tr>
                                        <th>流水号</th>
                                        <th>商品ID</th>
                                        <th>商品价格</th>
                                        <th>商品数量</th>
                                        <th>下单时间</th>

                                    </tr>
                                    </thead>
                                    <tbody>
                                    <c:forEach var="flow" items="${flows}">
                                        <tr>
                                            <td>${flow.flowno}</td>
                                            <td>${flow.goodsno}</td>
                                            <td>${flow.goodsprice}</td>
                                            <td>${flow.goodsquantity}</td>
                                        </tr>
                                    </c:forEach>
                                    </tbody>
                                </table>
                            </div>

                        </div>
                    </div>
                    <!--End Advanced Tables -->
                </div>
            </div>


        </div>

    </div>
    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<%@ include file="/static/include/link_js.jsp"%>


</body>
</html>
